package com.fan.common.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.fan.base.dao.BaseDao;
import com.fan.common.dao.UserDao;
import com.fan.common.entity.UserEO;

@Repository
public class UserDaoImpl extends BaseDao implements UserDao {
	@Override
	public List<UserEO> findAll() {
		UserDao userDao = getExecutor(UserDao.class);
		return userDao.findAll();
	}

	@Override
	public UserEO findById(String id) {
		return getExecutor(UserDao.class).findById(id);
	}
}